package com.zzxz.practicaltrainingsys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;
import java.sql.Timestamp;

@Data
public class Homeworkpublish {
    private Integer homework_id;
    private Integer teacher_id;
    private String homework_type;
    private String homework_category;
    private String homework_name;
    private String homework_introduction;

    private Integer project_id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp publish_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp homework_start;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp homework_end;
}
